//
//  UplodaImageWithGongSi.h
//  EnterpriseEdition
//
//  Created by ypj on 2021/10/12.
//

#import <UIKit/UIKit.h>
@class MenDianImageCollectionViewCell;
@class MD_CollectionHeaderView;
NS_ASSUME_NONNULL_BEGIN

@interface UplodaImageWithGongSi : UIView<UICollectionViewDelegate,UICollectionViewDataSource>
@property(nonatomic,strong)NSMutableArray   *  imageArray;
@property(nonatomic,strong)NSMutableArray   *  locationArray;
@property (weak, nonatomic) IBOutlet UILabel *xingLb;
@property(nonatomic,assign) CGFloat            collectionViewHeight;
@property(nonatomic ,strong)void(^ToShowAlert)(void);//上传照片
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property(nonatomic,strong)void(^ToDelectImage)(NSInteger   index);//删除当前的图片
@property(nonatomic,strong)void(^ToDelectFileUrl)(NSInteger index);//删除图片上传成功之后保存的路径
@property (weak, nonatomic) IBOutlet UILabel *titleLb;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property(nonatomic,strong)void(^ToShowImage)(UIImage  * image);
-(void)delectImageSure:(NSInteger)tag;
-(void)getCollectionViewHeight;
-(void)setDataImageArray:(NSMutableArray *)imageArray ;
+ (instancetype)shareInstance;
@end
@interface MenDianImageCollectionViewCell : UICollectionViewCell
@property(nonatomic,strong)UIImageView * imageContent;
@property(nonatomic,strong)UIButton *delectButton;
+ (NSString*)reuseIdentifier ;
@end
@interface MD_CollectionHeaderView : UICollectionReusableView
@property(nonatomic,strong) UILabel  * titleNameLb;
@property(nonatomic,strong) UILabel  * zhuShiLb;
@end
NS_ASSUME_NONNULL_END
